-- GENERATED SPELL FOR [Nethergarde Analyst] --


function spell0_6001(pUnit, Event) --@Expose Weakness,n/a--
pUnit:FullCastSpellOnTarget(7140,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6001', 5000, 1)
end

function Sorts_6001(pUnit, Event)
local choix_sorts_6001 = math.random(0, 0)
if choix_sorts_6001 == 0 then
pUnit:RegisterEvent('spell0_6001', 1, 1)
end
end

function mob6001_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6001', math.random(1500, 3000), 1)
end

function mob6001_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6001_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6001_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6001, 1, 'mob6001_Action')
RegisterUnitEvent(6001, 2, 'mob6001_Leave')
RegisterUnitEvent(6001, 3, 'mob6001_Kill')
RegisterUnitEvent(6001, 4, 'mob6001_Die')
